#ifndef QDISPLAYRESULT_H
#define QDISPLAYRESULT_H

#include <QVBoxLayout>
#include <QHash>
#include "qbdditem.h"
#include "qsearchresult.h"

class QDisplayResult : public QObject
{
   Q_OBJECT

public:
   QDisplayResult(QVBoxLayout* layout,QObject* parent = 0);
   ~QDisplayResult();
   
   void setResultsToDisplay(const QList<QBDDItem*>& results);
signals:
   void partModified(const QStringList&);
public slots:
	void acceptedResult(const QStringList&);
   
private:
	
	void clearLayout();
	QVBoxLayout* m_layout;
};

#endif